package com.demo.facade;

public class Projector {
    // 使用饿汉式
    private static Projector projector = new Projector();

    public static Projector getProjector() {
        return projector;
    }

    public void on() {
        System.out.println(" Projector ON ");
    }

    public void off() {
        System.out.println(" Projector off ");
    }

    public void focus() {
        System.out.println(" Projector focus ");
    }

    public void pause() {
        System.out.println(" Projector pause ");
    }
}
